package com.jichangxiu.generator.entity.bo;

import com.jichangxiu.generator.entity.po.GenRow;
import com.jichangxiu.generator.entity.vo.GenRowVo;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * GenRowBo:
 *
 * @author JiChangXiu
 * @create 2024-06-30 13:31:04
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@AutoMappers({
        @AutoMapper(target = GenRow.class, reverseConvertGenerate = false),
        @AutoMapper(target = GenRowVo.class, reverseConvertGenerate = false)
})
public class GenRowBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 编码
     */
    private String no;

    /**
     * 名称
     */
    private String name;

    /**
     * 表描述
     */
    private String comment;

    /**
     * 分类ID
     */
    private String categoryId;

    /**
     * 关联的子表
     */
    private String childRowId;

    /**
     * 关联的子表字段
     */
    private String childColumnId;

    /**
     * 包路径
     */
    private String pack;

    /**
     * 类名称
     */
    private String clazz;

    /**
     * 大写类名称
     */
    private String bigClazz;

    /**
     * 模块名
     */
    private String module;

    /**
     * 业务名
     */
    private String business;

    /**
     * 业务名
     */
    private String bigBusiness;

    /**
     * 作者
     */
    private String author;

    /**
     * 功能名
     */
    private String ability;

    /**
     * 生成代码方式
     */
    private String type;

    /**
     * 生成路径
     */
    private String path;

    /**
     * 上级菜单
     */
    private String menuId;

    /**
     * 是否生成过
     */
    private Boolean generated;

    /**
     * 其它生成选项
     */
    private String options;

    /**
     * 顺序
     */
    private BigDecimal sort;

    /**
     * 备注
     */
    private String remark;

}